package com.baitengsoft.patentservicemonitor.api.dao;

import com.baitengsoft.patentservicemonitor.api.entity.RptInventorEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * Created by 周俊 on 2018/1/10.
 */
@Mapper
public interface RptInventorDao extends BaseDao<RptInventorEntity>{
    /**
     * 根据平台ID和人名获取一条报表数据
     * @param PlatformID 平台id
     * @param InventorName 发明人姓名
     */
    RptInventorEntity queryRptInventorByQuery(@Param("PlatformID")Integer PlatformID,@Param("InventorName")String InventorName);

    /**
     * 删除某平台所有数据
     * @param PlatformID 平台id
     */
    void deleteRptInventor(@Param("PlatformID")Integer PlatformID);
}
